package com.ahwei.shop.auth.entity;

import com.ahwei.common.mybatis.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author ahwei
 * @since 2022-06-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("acl_user")
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * openid
     */
    private String username;

    private String password;

    private String nickName;

    /**
     * 1true 0false
     */
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
